Incompatible types in assignment (expression has type List[str] variable has type List[Union[str int